import { createStore } from 'vuex'

export default createStore({
  state: {
    username:localStorage.getItem("username"),
  },
  mutations: {
    SET_ACCOUNT: (state, username) => {
      state.username = username
      localStorage.setItem("username",username);
    },
  },
  actions: {
  },
  modules: {
  }
})
